package com.company.作业;

import java.util.Scanner;

public class sb {
    public static void main(String[] args) {
       int[] arr={19,28,37,46,50};
        System.out.println("请输入要找的数");
       Scanner in=new Scanner(System.in);
       int a= in.nextInt();
        for (int i = 0; i <arr.length ; i++) {
            if(arr[i]==a){
                System.out.println(i);
            }
        }
    }
}








